
package com.idealighter.game.games.zjh.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import lombok.Data;

/**
 * 弃牌结果 .
 *
 */
@ResMsg(ModuleMsgIdConstant.Zjh.RES_DISCARD)
@Data
public class ResDiscardMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Zjh.RES_DISCARD;
  // 座位顺序
  @Protobuf(order = 2)
  private int order;
  // 退桌玩家id
  @Protobuf(order = 3)
  private long playerId;
  // 下一个操作玩家order(-1表示没有)
  @Protobuf(order = 4)
  private int nextOptOrder;
  // 下一个操作玩家id(0表示没有)
  @Protobuf(order = 5)
  private long nextOptPlayerId;
}
